<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>Hello Index</h1>

    <ul>
    {%  for stu in students %}
        <li>姓名：{{ stu.name }} 学号：{{ stu.sn }}</li>
    {% endfor %}
    </ul>
</body>
</html>